# iperf3 client->gateway_in(1)->NAT(10)->Merger(11)->{IDS(110),Firewall(1110)}
# ->Merger(11110)->gateway_out(0)->iperf3 server

policies = {
    1: {'in': (False,), 'out': (10,)},
    10: {'in': (1,), 'out': (11,)},
    11: {'in': (10,), 'out': (110, 1110)},
    110: {'in': (10,), 'out': (11110,)},
    1110: {'in': (10,), 'out': (11110,)},
    11110: {'in': (110, 1110), 'out': (0,)},
    0: {'in': (11110,), 'out': (False,)}
}

if __name__ == '__main__':
    print(policies[1]['out'])
    print(policies[10]['out'])
    print(policies[110]['out'])
    print(policies[1110]['out'])
    print(policies[11110]['out'])
